package com.upf1sh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.upf1sh.bean.Snapshot;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface SnapshotMapper extends BaseMapper<Snapshot> {

    @Select("Select * from snapshot where path=#{path}")
    Snapshot selectByPath(String path);


}
